import React from 'react';

import CommonRequestDataAction from '../common/CommonRequestDataAction';
import Constants from '../../common/Constants';

export default class QuanziRequestQuanziMembersAtion extends CommonRequestDataAction {
  constructor(props) {
    super(props);

    this.moduleType = Constants.MODULE_TYPE.QUAN_ZI;
    this.name = "QuanziRequestQuanziMembersAtion";
  }

  finish(data, isSucceed, response) {
    if(this.data.onlyFirstPage){
        if(isSucceed) {
          this.caller.setState({
            memberList: data,
            memberListUpdate: true,
          })
        }
      }else{
        super.finish(data,isSucceed,response);
      }
  
  }
}
